//
//  HZ_Radio_Model.m
//  HZ_Beautiful_Music
//
//  Created by dllo on 16/4/5.
//  Copyright © 2016年 ui. All rights reserved.
//

#import "HZ_Radio_Model.h"

@implementation HZ_Radio_Model
-(instancetype)initWithDataSource:(NSDictionary *)dataSource{
    
    self = [super init];
    
    
    if (self) {
        [self setValuesForKeysWithDictionary:dataSource];
        
        NSMutableArray *array = [NSMutableArray arrayWithCapacity:0];
        for (NSDictionary *dic in self.data) {
            HZ_DataArray_Model *data = [[HZ_DataArray_Model alloc] init];
            
            [data setValuesForKeysWithDictionary:dic];
            
            [array addObject:data];
            
        }
        
        self.data = [NSArray arrayWithArray:array];
        
        
        
    }
    
    
    return  self;
    
    
    
}
@end
